package com.tiantianfresh.view.service;

import com.tiantianfresh.model.pojo.*;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author FANGAO
 * @date 2021/11/24 - 上午 10:42
 */
@Service
public interface HomePageService {
    /**
     *商品类别
     * @return
     */
    List<Categorygrouping> queryAllCategorygrouping();

    /**
     * 商品展示
     * @return
     */
    List<CommodityResult> queryAllCommodity();

    /**
     * 轮播图
     * @return
     */
    List<Rotationchart> queryAllRotationchart();

    /**
     * 二级菜单
     * @return
     */
    List<CategorygroupingCommodity> queryCategorygroupingCommodity();
}
